package com.example.memosystem.service;

import com.example.memosystem.model.Category;

import java.util.List;

public interface CategoryService {
    
    boolean addCategory(Category category);
    
    boolean updateCategory(Category category);
    
    boolean deleteCategory(Integer id, Integer userId);
    
    Category findById(Integer id, Integer userId);
    
    List<Category> findAllByUserId(Integer userId);
} 